#include <QtGui/QApplication>
#include <QtDeclarative>
#include "qmlapplicationviewer.h"
#include "ndefmanager.h"
#include "nfcpeertopeer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    qmlRegisterType<NdefManager>("Nfc", 1, 0, "NdefManager");
    qmlRegisterType<NfcPeerToPeer>("NfcPeerToPeer", 1, 0, "NfcPeerToPeer");

    QmlApplicationViewer viewer;
    viewer.setMainQmlFile(QLatin1String("qml/demo/main.qml"));

    viewer.showExpanded();

    return app.exec();
}
